package com.alipay.model.request;

/**
 * @author lwj
 * @create 2025-10-10-23:19
 *
 * 基础请求类
 */
public class AlipayBaseRequest {
    /**
     * 商品订单号（必填）
     */
    private String outTradeNo;
    /**
     * 支付金额（必填）
     */
    private String totalAmount;
    /**
     * 订单标题（必填）
     */
    private String subject;
    /**
     * 订单描述（可选）
     */
    private String body;
    /**
     * 超时时间（可选）
     */
    private String timeout;

    public AlipayBaseRequest() {}
    public AlipayBaseRequest(String outTradeNo, String totalAmount, String subject, String body, String timeout) {
        this.outTradeNo = outTradeNo;
        this.totalAmount = totalAmount;
        this.subject = subject;
        this.body = body;
        this.timeout = timeout;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getTimeout() {
        return timeout;
    }

    public void setTimeout(String timeout) {
        this.timeout = timeout;
    }
}
